{* Smarty *}
{*
 *  This file is part of Urd.
 *
 *  Urd is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 3 of the License, or
 *  (at your option) any later version.
 *  Urd is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program. See the file "COPYING". If it does not
 *  exist, see <http://www.gnu.org/licenses/>.
 *
 * $LastChangedDate: 2008-07-09 23:15:39 +0200 (Wed, 09 Jul 2008) $
 * $Rev: 1281 $
 * $Author: gavinspearhead $
 * $Id: viewfiles.tpl 1281 2008-07-09 21:15:39Z gavinspearhead $
 *}
{include file="head.tpl" title=$title}

<br/><h3>{$LN_viewfilesheading}: <span id="directory_top">{$directory|escape:htmlall|truncate:$maxstrlen:'...':false:true}</span></h3>
<div><span class="Message" id="message_bar"></span></div>
<input type="text" name="search" size="30" value="{$search}" id="search" onkeypress="javascript:do_keypress_viewfiles(event)"/>
<input type="submit" value="{$LN_search}" class="submit" name="submitbutton" onclick="javascript:show_files(null, true);"/>
<input type="button" value="{$LN_reload|capitalize}" class="submit" name="reloadbutton" onclick="javascript:show_files(null, false);"/>
<div id="viewfilesdiv">
<div id="center">
<p>
<br/>
</p>

<img src="{$IMGDIR}/waiting.png" alt="Loading"/>
<p>
<br/>
</p>
<h3>{$LN_loading_files}</h3>
</div>
<script type="text/javascript">
show_files('{$directory|escape:javascript}');
</script>
</div>

<div><br/></div>

<div id="fileeditdiv" class="editfileoff">
</div>



{include file="foot.tpl"}
